#ifndef __ADXL363_CMD_H__
#define __ADXL363_CMD_H__

#include "ADuCM4050.h"

#define WRITE_REGISTER  	0x0A
#define READ_REGISTER 	 	0x0B
#define READ_FIFO			  	0x0D

#define ADXL_363_DEVID_AD						0x00
#define ADXL_363_DEVID_MST					0x01
#define ADXL_363_DEVID							0x02
#define ADXL_363_REVID							0x03

#define XDATA        			0x08
#define YDATA        	 		0x09
#define ZDATA           	0x0A

#define STATUS 						0x0B

#define FIFO_ENTRIES_L    0x0C
#define FIFO_ENTRIES_H    0x0D

#define XDATA_L	      		0x0E
#define XDATA_H	      		0x0F
#define YDATA_L	      		0x10
#define YDATA_H	      		0x11
#define ZDATA_L	      		0x12
#define ZDATA_H	      		0x13
#define TEMP_L	      		0x14
#define TEMP_H	      		0x15
#define ADC_DATA_L	      0x16
#define ADC_DATA_H	      0x17

#define SOFT_RESET     		0x1F
#define THRESH_ACT_L	    0x20
#define THRESH_ACT_H	    0x21
#define TIME_ACT	       	0x22
#define THRESH_INACT_L	  0x23
#define THRESH_INACT_H	  0x24
#define TIME_INACT_L	    0x25
#define TIME_INACT_H	    0x26

#define ACT_INACT_CTL	    0x27
#define FIFO_CONTROL	    0x28
#define FIFO_SAMPLES	    0x29
#define INTMAP1				    0x2A
#define INTMAP2				    0x2B
#define FILTER_CTL				0x2C

#define POWER_CTL         0x2D
#define SELF_TEST         0x2E

#endif // _ADXL363_CMD_H_
